<?php
session_start();

if(isset($_SESSION['id']))
{
include ('../Connections/conn.php');
include ('../consultas.php');
include ('../funciones.php');


if ($_GET)
  {

for ($c=1;$c<=$_GET['valores']."_".$_GET['b'];$c++)
	 {?>    
          <li>
		 <label class="desc" style="font-size:12px;">Producto <?php echo $c; ?>:<span class="req">*</span></label>
         	<div class="form-row">
    	<input type="text" name="product_<?php echo $_GET['b'];?>_<?php echo $c; ?>"  id="product_<?php echo $_GET['b'];?>_<?php echo $c; ?>"  class="inputtext required field text medium" title="Ingrese el nombre del Producto">  
        	</div>
          </li> 
<?php
	 }

	}
}
else
{
  session_unset();
  session_destroy();
  echo "La sesión ha caducado o se ingreso incorrectamente";
  echo "<script type='text/javascript'>redireccionar('index.php',3000);</script>";
}


?>